package legacy;
import java.util.Vector;


public class Log {

	private Vector<int[][]> pile = null;
	private int LogMaxSize = 9999;
	
	
	
	public int size(){
		return pile.size();
	}
	
	public void addFirst(int[][] p_command){
		if(pile.size() < LogMaxSize)
			pile.add(p_command);
	}
	
	public int[][] removeLast(){
		return pile.remove(0);
	}
	
	public boolean isEmpty(){
		if(pile.size()>0)
			return false;
		return true;
	}
}
